#!/bin/bash
#
netstat -tunlp | grep haproxy &> /dev/null

if [ $? -ne 0 ]; then
   systemctl stop keepalived
fi


